<?php
/**
 * Zend_Jabber response stanza object
 * 
 * @package stanza
 */
abstract class Zend_Jabber_Stanza_Response_Abstract extends Zend_Jabber_Stanza_Abstract {
    /**
     * Enter description here...
     *
     * @param DomDocument $dom
     * @param unknown_type $id
     */
    public function __construct(DomDocument $dom, $id) {
        parent::__construct($id);
        $this->dom = $dom;
    }
    
    /**
     * @return Zend_Jabber_Stanza_Request_Abstract
     */
    public function getRequest() {
        return self::$requests[$this->getId()];
    }

}
?>